package cn.thomas.clock.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author Tomas
 * @version 1.0.0
 * @date 2021-10-18 09:22
 **/
@Data
@EqualsAndHashCode
@TableName("clock_in_info")
public class ClockInInfoDTO {

    @TableId(type = IdType.ASSIGN_ID)
    private long id;

    @TableField
    private String clockInUser;

    @TableField
    private String clockInIp;

    @TableField
    private Date createTime;

    @TableField
    private String msg;

}
